package com.wanxi.test;

import java.time.*;
import java.util.Date;

public class MyLocal {
    public static void main(String[] args) {
        System.out.println(LocalDate.now() );
        System.out.println(LocalTime.now() );
        System.out.println(LocalDateTime.now());

        System.out.println(Duration.ofDays(0).getSeconds());
        System.out.println(Duration.ofDays(7).getSeconds());
    }
}
